﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Y2015CS68LIB.OOP_LIB.INHERISTANCES
{
    public class LOPDONGVAT
    {
        private bool isChan;
        private bool isMat;

        public LOPDONGVAT(){
            isChan = true;
            isMat = true;}

        public LOPDONGVAT(bool isChan, bool isMat)
        {
            this.isChan = isChan;
            this.isMat = isMat;}

        public bool Chan{
            get { return isChan; }
            set { isChan = value; }}

        public bool Mat{
            get { return isMat; }
            set { isMat = value; } }

        public bool BietChay(){return true;}
        public bool BietNgu() { return true; }
    }
}
